#ifndef __SCENE1_H__
#define __SCENE1_H__

#include "cocos2d.h"
#include "Box2D/Box2D.h"



using namespace cocos2d;



class scene1 : public cocos2d::CCLayer
{
    
public:

	scene1();
	virtual ~scene1();

	// Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
	virtual bool init();  

	// there's no 'id' in cpp, so we recommand to return the exactly class pointer
	static cocos2d::CCScene* scene();
	
	// a selector callback
	virtual void menuCloseCallback(CCObject* pSender);

	void update(ccTime dt);
	virtual void draw();
    
    
    virtual bool ccTouchBegan(CCTouch* touch, CCEvent* event);
	virtual void ccTouchEnded(CCTouch* touch, CCEvent* event);
	virtual void ccTouchCancelled(CCTouch *touch, CCEvent* event);
	virtual void ccTouchMoved(CCTouch* touch, CCEvent* event);

	// implement the "static node()" method manually
	LAYER_NODE_FUNC(scene1);
};

#endif // __HELLOWORLD_SCENE_H__
